home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / datescrn.arc / CSR_LFT.C < prev    next >
Text File  |  1985-12-12  |  1KB  |  25 lines

  1. /****************************************************************************/
  2. /*                                                                          */
  3. /* This function was written by Jim Niederriter for the Lattice `C' Compiler*/
  4. /* on the IBM Personal Computer or compatible, running DOS 2.0.             */
  5. /*                                                                          */
  6. /* It requires that the system be booted with a CONFIG.SYS file on the boot */
  7. /* disk containing the record: DEVICE=ANSI.SYS                              */
  8. /*                                                                          */
  9. /* In addition, the ANSI.SYS file from the DOS 2.0 disk should also be on   */
  10. /* the boot disk.                                                           */
  11. /*                                                                          */
  12. /* See Chapter 13 of the DOS 2.0 Manual for further explanation.            */
  13. /*                                                                          */
  14. /****************************************************************************/
  15.  
  16. /*  csr_lft()  */
  17. /*  this function moves the cursor to the left from its current  */
  18. /*  position by the number of columns specified  */
  19.  
  20. int csr_lft(col)
  21. int col;
  22. {
  23.      cprintf("\x1B[%dD", col);
  24. }
  25.